import Layout from '@/layout'

const payRouter = {
  path: '/pay',
  component: Layout,
  redirect: '/pay/cashier',
  name: 'pay',
  meta: { title: '支付系统', icon: 'home-o' },
  children: [{
    path: 'cashier',
    name: 'payCashier',
    component: () => import('@/views/pay/cashier'),
    meta: { title: '收银台', icon: 'userManager' }
  }, {
    path: 'result',
    name: 'payResult',
    hidden: true,
    component: () => import('@/views/pay/result'),
    meta: { title: '支付结果', icon: 'userManager' }
  }]
}
export default payRouter
